package cn.gogpay.dcb.api.feign.form;

import com.alibaba.fastjson.JSON;

import javax.validation.constraints.NotBlank;

/**
 * {描述}
 *
 * @author yangxianxi@gogpay.cn
 * @date 2018/10/31 17:49
 */
public class DrivingForm {
    /**
     * 用户id
     */
    @NotBlank(message = "userId 不能为null")
    private String userId;

    /**
     * 身份证
     */
    @NotBlank(message = "cardNo 不能为null")
    private String cardNo;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
